package com.app.signing.app

import android.app.Application
import com.app.signing.data.bean.MyObjectBox
import io.objectbox.BoxStore

class App : Application() {

    companion object {
        lateinit var app: App
    }

    lateinit var boxStore: BoxStore
        private set

    override fun onCreate() {
        super.onCreate()
        app = this
        boxStore = MyObjectBox.builder().androidContext(this).build()
    }
}